import java.awt.*;
import java.awt.event.*;
public class SiimuRuudustik extends Panel{
   int ridu=10;
   int veerge=10;
   public static final long serialVersionUID=1;
   public void paint(Graphics g){
      int veerulaius=getWidth()/veerge;
	  int reakorgus=getHeight()/ridu;
	  for(int rida=1; rida<=ridu; rida++){
	     g.drawLine(0, rida*reakorgus, getWidth(), rida*reakorgus);
	  }
	  for(int veerg=1; veerg<veerge; veerg++){
	     g.drawLine(veerg*veerulaius, 0, veerg*veerulaius, getHeight());
	  }
   }
}